//package com.hjxr.sysadmin.config;
//
//import com.bstek.ureport.console.UReportServlet;
//import org.springframework.boot.web.servlet.ServletRegistrationBean;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.context.annotation.ImportResource;
//
//@Configuration
//@ImportResource("classpath:ureport-console-context.xml")
//public class UreportConfig {
//
//    @Bean
//    public ServletRegistrationBean ureportServlet() {
//
//        ServletRegistrationBean bean = new ServletRegistrationBean(new UReportServlet());
//        bean.addUrlMappings("/ureport/*");
//        return bean;
//    }
//
//}
